package com.heima.article.controller.v1;


import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * 查询文章详情
 */
@RestController
@RequestMapping("/api/v1/article")
public class ArticleInfoController {
/*
    @Autowired
    ArticleInfoService articleInfoService;
    //查询详情具体方法
    @PostMapping("/load_article_info")

    public ResponseResult loadArticleInfo(@RequestBody ArticleInfoDto dto) {
        return articleInfoService.loadArticleInfo(dto);
    }
    *//**
     * 加载文章详情的行为内容
     * @param dto
     * @return
     *//*
    @PostMapping("/load_article_behavior")

    public ResponseResult loadArticleBehavior(@RequestBody ArticleInfoDto dto) {
        return articleInfoService.loadArticleBehavior(dto);
    }*/
}